import axios, { ResDataType } from "./ajax"

// 获取用户信息
export async function getUserInfoService(): Promise<ResDataType> {
  const url = "/api/user/info"
  const data = (await axios.get("/api/user/info")) as ResDataType
  return data
}

// 注册用户
export async function
